<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\CouponCategorySearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="coupon-category-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'options'=> ['class'=>'form-inline'],
    ]); ?>

    <?php //echo $form->field($model, 'id') ?>

    <?= $form->field($model, 'title') ?>

    <?= $form->field($model, 'mark_id') ?>

    <?php // $form->field($model, 'origin_num') ?>

    <?php // $form->field($model, 'use_num') ?>



    <?php  echo $form->field($model, 'created_at') ?>
    <?php  echo $form->field($model, 'status')->dropDownList(['有效','失效']) ?>
    <?php // echo $form->field($model, 'updated_at') ?>

    <?php // echo $form->field($model, 'local_mark_id') ?>

    <div class="form-group">
        <?= Html::submitButton('搜索', ['class' => 'btn btn-primary']) ?>

        <?= Html::a('创建', ['create'], ['class' => 'btn btn-success']) ?>
        <?= Html::tag("div",'',['class'=>'help-block']);?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
